package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 厂家服务费管理对象 zsyh_factory_pay
 * 
 * @author yuexl
 * @date 2021-12-24
 */
public class ZsyhFactoryPay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 厂家id */
    @Excel(name = "厂家id")
    private String factoryId;

    /** 期初应付服务费 */
    @Excel(name = "期初应付服务费")
    private BigDecimal payBegin;

    /** 本月新增服务费 */
    @Excel(name = "本月新增服务费")
    private BigDecimal payOn;

    /** 本月已付服务费 */
    @Excel(name = "本月已付服务费")
    private BigDecimal payOff;

    /** 本月剩余服务费 */
    @Excel(name = "本月剩余服务费")
    private BigDecimal payEnd;

    /** 核算期间年份 */
    @Excel(name = "核算期间年份")
    private Integer periodYear;

    /** 核算期间月份 */
    @Excel(name = "核算期间月份")
    private Integer periodMonth;

    private String factoryName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setFactoryId(String factoryId) 
    {
        this.factoryId = factoryId;
    }

    public String getFactoryId() 
    {
        return factoryId;
    }
    public void setPayBegin(BigDecimal payBegin) 
    {
        this.payBegin = payBegin;
    }

    public BigDecimal getPayBegin() 
    {
        return payBegin;
    }
    public void setPayOn(BigDecimal payOn) 
    {
        this.payOn = payOn;
    }

    public BigDecimal getPayOn() 
    {
        return payOn;
    }
    public void setPayOff(BigDecimal payOff) 
    {
        this.payOff = payOff;
    }

    public BigDecimal getPayOff() 
    {
        return payOff;
    }
    public void setPayEnd(BigDecimal payEnd) 
    {
        this.payEnd = payEnd;
    }

    public BigDecimal getPayEnd() 
    {
        return payEnd;
    }
    public void setPeriodYear(Integer periodYear) 
    {
        this.periodYear = periodYear;
    }

    public Integer getPeriodYear() 
    {
        return periodYear;
    }
    public void setPeriodMonth(Integer periodMonth) 
    {
        this.periodMonth = periodMonth;
    }

    public Integer getPeriodMonth() 
    {
        return periodMonth;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryId", getFactoryId())
            .append("payBegin", getPayBegin())
            .append("payOn", getPayOn())
            .append("payOff", getPayOff())
            .append("payEnd", getPayEnd())
            .append("periodYear", getPeriodYear())
            .append("periodMonth", getPeriodMonth())
            .append("createTime", getCreateTime())
            .toString();
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }
}
